#ifndef PINGPONG_H
#define PINGPONG_H

#include <QtGui>
#include "ball.h"

class pingpong : public QGraphicsView
{
    public:
        pingpong(QGraphicsView *parent = 0);
       ~pingpong();
    private:
       QGraphicsScene *scene;
       QPushButton *newgameButton;
       QPushButton *optionsButton;
       QPushButton *highscoreButton;
       QVBoxLayout *buttonLayout;
       Ball *playball;
       QTimer *timer;
};

#endif // PINGPONG_H
